// cell
.cell-grop{
    position: relative;
    margin-bottom: 10px;
    .cell-group-t{
        position: relative;
        padding: 10px;
        .cell-title{
            font-size: 16px;
            color: #8391a5;
        }
    }
     .cell-group-w{
        font-size: 14px;
        padding: 10px;
        display: flex;
        position: relative;
        transition: all ease-in-out .2s;
        &.label:active{
            background: #f9f9f9;;
        }
        a{
            display: flex;
            text-decoration: none;
            justify-content:space-between;
            width: 100%;
        }
        span:nth-of-type(1){
            color: #333;
        }
        span:nth-of-type(2){
            color: #666;
        }
        justify-content:space-between;
        &::before{
            display: block;
            content: "";
            position: absolute;
            left: inherit;
            right: 0;
            bottom: 0;
            left:0;
            height: 1px;
            width: 100%;
            background: #e4e4e4;
            transform: scaleY(0.5);
        }
        &.arrow{
            padding-right:20px;
            &::after{
                height: 10px;
                width: 10px;
                border-top: 1px solid #ababab;
                border-right: 1px solid #ababab;
                display: block;
                content: "";
                position: absolute;
                left: inherit;
                right: 8px;
                bottom: inherit;
                top: 50%;
                -webkit-transform: rotate(45deg);
                transform: rotate(45deg);
                margin-top: -5px;
            }
        }
    }
}
// popup
.popup-group{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 999;
    .popup-mask{
        background:rgba(0, 0, 0,0.5);
        height: 100%;
        width: 100%;
    }
    .popup-cont{
        box-sizing: content-box;
        padding: 0 5px;
        background: white;
        position: absolute;
        overflow-y: auto;
    }
    .popup-cont-right{
        height: 100%;
        right: 0%;
        top:0;
        bottom: 0;
        transition:all  1s ease;
        @extend .popup-cont;
    }
    .popup-cont-left{
        height: 100%;
        left: 0;
        top:0;
        bottom: 0;
        @extend .popup-cont;
    }
    .popup-cont-top{
        width: 100%;
        right: 0;
        top:0;
        left: 0;
        @extend .popup-cont;
        padding: 20px 5px;
    }
    .popup-cont-bottom{
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        padding-bottom: 20px;
        @extend .popup-cont;
    }
}
// button
.zx-button{
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #bfcbd9;
    color: #1f2d3d;
    margin: 0;
    border-radius: 4px;
    outline: none;
    -webkit-tap-highlight-color:rgba(0,0,0,.04);
    &.size-default{
        padding: 10px 15px;
        font-size: 14px;
    }
    &.size-mini{
        padding: 8px 10px;
        font-size: 14px;
    }
    &.size-large{
        padding: 12px 26px;
        font-size: 16px;
    }
    &.size-small{
        padding: 5px 8px;
        font-size: 12px;        
    }
    &.zx-button-primary{
        color: #fff;
        background-color: #20a0ff;
        border-color: #20a0ff;
        &:active, &:hover{
            background:  #1d90e6;
            border-color: #1d90e6;
        }
    }
    &.zx-button-success{
        color: #fff;
        background-color: #13ce66;
        border-color: #13ce66;
        &:active, &:hover{
            background:  #16bb60;
            border-color: #16bb60;
        }
    }
    &.zx-button-warning{
        color: #fff;
        background-color: #f7ba2a;
        border-color: #f7ba2a;
        &:active, &:hover{
            background:  #f1b11a;
            border-color: #f1b11a;
        }
    }
    &.zx-button-danger{
        color: #fff;
        background-color: #ff4949;
        border-color: #ff4949;
        &:active, &:hover{
            background:  #e23e3e;
            border-color: #e23e3e;
        }
    }
    &.zx-button-info{
         &:active, &:hover{
            box-shadow: inset 0 0 6px #efefef;
        }
    }
    &.zx-button-text{
         border:none;
         color: #20a0ff
    }
    &.disabled{
        background: #eef1f6;
        border-color: #d1dbe5;
        color: #d1dbe5;
        cursor: no-drop;
        &:hover,&:active{
            @extend .disabled;
        }
    }
}





$defaultColor:rgba(1, 157, 250, 1);
$defalutFontColor:rgba(77, 79, 81, 1);
// 表单
.form-group {
    position: relative;
    margin: 0 1rem;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    .form-label {
        font-size: 1.4rem;
        padding: .8rem 0;
        color: rgba(77, 79, 81, 1);
        span {
            color: RGBA(151, 151, 151, 1);
        }
    }
    .form-select {
        display: flex;
        position: relative;
        font-size: 1rem;
        .select-icon-inner {
            color: $defaultColor;
        }
        .select-ios {
            max-width: 100%;
            flex: 1;
            padding: 11px 8px 11px 0px;
            color: #828A9E;
        }
        .select-placeholder {
            color: RGBA(151, 151, 151, 1);
        }
    }
    .form-textarea {
        height: 8rem;
        margin-top: .5rem;
        box-shadow: 0 6px 10px rgba(204, 204, 204, 0.16);
        textarea {
            height: 100%;
            width: 100%;
            resize: none;
            color: #828A9E;
            border: none;
            &::placeholder {
                color: RGBA(151, 151, 151, 1);
            }
        }
    }
    .form-input-wrap {
        display: flex;
        height: 3.5rem;
        line-height: 3.5rem;
        background: white;
        .icon {
            height: 3.5rem;
            width: 3.5rem;
            box-shadow: 0 6px 10px rgba(204, 204, 204, 0.16);
            &.phone-icon {
                background: rgba(232, 232, 232, 1) url("../assets/img/tell-icon.png") center center no-repeat;
            }
            &.pass-icon {
                background: rgba(232, 232, 232, 1) url("../assets/img/pass-icon.png") center center no-repeat;
            }
            &.email-icon {
                background: rgba(232, 232, 232, 1) url("../assets/img/email-icon.png") center center no-repeat;
            }
        }
        .form-input {
            border: none;
            flex: 1;
            padding-left: .8rem;
            font-size: 1.2rem;
            box-shadow: 0 6px 10px rgba(204, 204, 204, 0.16);
        }
        .form-input[disabled] {
            color: rgba(77, 79, 81, 1);
        }
        .input-text {
            color: $defaultColor;
            text-align: center;
            padding: 0 1rem;
            font-size: 1.4rem;
            margin-left: 1rem;
            border: 1px solid rgba(232, 232, 232, 0.65);
        }
    }
    .submit-btn {
        // margin-top: 2rem;
        padding: 1rem;
        text-align: center;
        background: white;
        color: $defaultColor;
        border: 1px solid $defaultColor;
    }
    .bg-gray {
        background: rgba(77, 79, 81, 1);
        color: white;
        border: 1px solid rgba(77, 79, 81, 1);
    }
}